home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 66
/
Vol 66.iso
/
games
/
doeo.swf
/
scripts
/
DefineSprite_480
/
frame_1
/
PlaceObject2_434_510
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2013-04-24
|
686b
|
46 lines
onClipEvent(enterFrame){
if(_parent.t > go)
{
s = 1;
}
if(s == 1)
{
if(t == 0)
{
if(_Y > y)
{
_Y = _Y - 30;
}
else if(_Y <= y)
{
t = 1;
}
}
else if(t == 1)
{
_Y = _Y - 10;
t = 2;
}
else if(t == 2)
{
_Y = _Y - 5;
t = 3;
}
else if(t == 3)
{
_Y = _Y + 5;
t = 4;
}
else if(t == 4)
{
_Y = _Y + 10;
t = 5;
}
else if(t == 5)
{
_Y = y;
t = 6;
}
}
}